/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 *
 *       Filename:  main.cpp
 *    Description:  Model for explore of 8b10b code error-detection properties
 *
 *        Version:  1.0
 *        Created:  31.01.2013 14:48:17
 *         Author:  Aleksey Golovchenko (lexgolovchenko@gmail.com)
 *   Organization:  St.Petersburg Polytecnical Universisy
 *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#include <systemc.h>
#include "tb_8b10b.h" 

int sc_main(int argc, char **argv)
{
    srand(time(NULL));

    sc_clock clk_gen("clk", sc_time(50, SC_US), 0.5);
    tb_8b10b top("tb");
    top.clk(clk_gen);

    sc_start();

    return 0;
}
